<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Cache-Control" CONTENT="no-store">
<meta http-equiv="Expires" content="0" />
<title>测试</title>
<link href="/static/css/survey/theme/base.css?v=c645e23bd7778c3c29897431fb71f9e4" rel="stylesheet">
<link href="/static/css/survey/wjend.css?v=649d5ee123267626ee94d5bc99161ea5" rel="stylesheet">
<link href="/static/css/survey/theme/darkblue.css?v=b2d3f86d52b6fecdb0f15e4374f6f8da" rel="stylesheet">
<link href="/static/js/plug-in/hcheckbox/hcheckbox.css?v=0e47f1fe58044e91100e9b583ea85ec0" rel="stylesheet">


</head>
<body>

<div class="preview_model clear" id="preview_for_test">
<a class="preview_close" title="关闭" href="javascript:;"></a>
<div class="pre_r"><a class="mobile_Code" href="javascript:;"><div><img src="/static/images/model_exp_mb.png?v=7c852d024c379021ca4246f6aa70fee6" style="vertical-align: top;" />手机预览</div><i class="show_ewm"></i></a></div>
<div class="pre_r" style="margin-right: 20px;" >
<a class="mobile_Code" id="export-doc" href="javascript:;">
<div><img src="/static/images/model_exp_word.png?v=6dadbf467b7582511ba9aabad04082d6" style="vertical-align: top;" /> 导出问卷 </div>
</a>
</div>
<div class="pre_l" style="font-size: 16px;margin-top:-4px;">
当前为预览页不记录答案，请勿发送给他人填写！
</div>
<div style="display:none;" class="qrCode">
<img src="/images/get_matrix_img?survey_url=http://www.wenjuan.com/s/eQn2Qn/&test=1&box_size=5" />
<p>扫描二维码，<br />访问手机答题预览页</p>
</div>
</div>


<div class="wjContent clear" id="survey_page">
<div class="content" id="begin_content" style="">

<div class="wjtitle mtop project_title">
<h1>测试</h1>
</div>
<div class="wjintro mtop desc_begin">
<p>欢迎参加本次答题</p>
</div>





<div class="wjhr mtop"></div>
</div>
<div id="question_box">
<div class="maxtop btns title" id="loader_div_1" style="display:block; text-align:center;">
<img src="/static/img/survey/loader.gif?v=b256d80f54c1415d7a6a6fdec39769f4" alt="" />
<br />
加载中...
</div>
<!-- Append question's html code here. -->
</div>
<div class="maxtop btns" id="control_panel">
<div class="WJButton wj_color" id="next_button">下一页</div>
<div class="red fL" id="err_msg"></div>


<div class="wjprogress" id="progress_bar" style="display:none;">
<span>20%</span>
<div class="bar">
<div class="barbox"></div>
</div>
</div>
</div>
<div class="maxtop btns title" id="loader_div" style="display:none; text-align:center;">
<img src="/static/img/survey/loader.gif?v=b256d80f54c1415d7a6a6fdec39769f4" alt="" />
<br />
正在保存...
</div>
<div class="conthank" id="survey_end" style="display:none;">
<p id="end_desc" class="cn"></p>
<div class="show_results" id="show_results">


</div>
</div>
</div>
<!--wjContent end-->
<style type="text/css">
.ma_auto{width:none;}
.instructions div{float:none;}
.wjtext{text-align: center;}
.wjtext a{display:inline;}
</style>
<div class="footer_mini">
<div class="footer">
<div class="instructions">

<!--a target="_blank" href="http://www.wenjuan.com">问卷网</a><span>提供支持</span-->
<div class='wjtext'><a href='http://www.wenjuan.com' target='_blank'>问卷网 </a><span>提供支持</span></div>

</div>
</div>
</div>
<form id="report_doc_content" style="display:none" action="/report/docx/content" method="POST" >
<input type="hidden" name="proj_id" value="53805f3df7405b4dda126bac" >
<input type="hidden" name="_xsrf" value="6041258be33e4c708bcc01071a1ca2f2"/>
</form>
<form action="#" method="post" id="upload_form">
<input type="hidden" name="_xsrf" value="6041258be33e4c708bcc01071a1ca2f2"/>
<input type="hidden" name="total_answers_str" id="total_answers_str"/>
<input type="hidden" name="finish_status" id="finish_status"/>

</form>
</body>
</html>
<script type="text/javascript" src="/static/js/jquery_1.10.2.min.js?v=628072e7212db1e8cdacb22b21752cda"></script>
<script type="text/javascript" src="/static/js/jquery-migrate-1.2.1.js?v=7eed62ace0ac39683b497c20ed3e32ab"></script>
<script type="text/javascript" src="/static/js/jquery-ui-1.10.3.custom.min.js?v=f398a0da2472a10faaf5f30603ecdb14"></script>
<script type="text/javascript" src="/static/js/modernizr.js?v=6b699e7c918ab49f8a93ad65d1f3edcb"></script>
<script type="text/javascript" src="/static/js/public.js?v=9d90dc8e133a83dc79a21839a31f5494"></script>
<script type="text/javascript" src="/static/js/tools.js?v=5d2c3f59e257951d3020a631a339dd18"></script>
<!--<script type="text/javascript" src="/static/js/plug-in/jscheck/jquery.icheck.min.js?v=b31463e701bddd0f07280bf85e3e0d37"></script>-->
<script type="text/javascript" src="/static/js/plug-in/hcheckbox/jquery-hcheckbox.js?v=f1b9aa5a766ded39849ab5294addc127"></script>
<script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>
<!--script type="text/javascript" src=""></script-->
<script type="text/javascript">
var project = {"status": 0, "is_shared": false, "updated": {"$date": 1409616667791}, "page_count": 1, "is_struct_change": 0, "short_id": "eQn2Qn", "created": {"$date": 1400950717560}, "questionpage_id_list": ["53805f3df7405b4dda126bad"], "title": "\u6d4b\u8bd5", "share_status": 0, "project_func_id": "51dd234e9b9fbe6646bf4dd0", "official_status": 0, "questionpage_list": [{"updated": {"$date": 1400950717572}, "_id": {"$oid": "53805f3df7405b4dda126bad"}, "question_id_list": ["53805f4bf7405b4bc657ae19", "53805f6bf7405b4dda126bb3", "53805f72f7405b4de5454ec1", "53fee44bf7405b7a7ee22e70", "53fee44cf7405b7c724d6911", "53fee49ff7405b7b0af8b771", "53fee4a1f7405b7c4941a012", "54003375f7405b3aafbfacba"], "question_list": [{"has_open_option": false, "_id": {"$oid": "53805f4bf7405b4bc657ae19"}, "jumpconstraint_id_list": [], "option_id_list": ["53805f4bf7405b4bc657ae1b", "53805f4bf7405b4bc657ae1a"], "cid": "Q1", "questionpage_id": "53805f3df7405b4dda126bad", "title": "<p><strong><span style=\"color:rgb(102, 102, 102)\"><span style=\"font-size:16px\"><span style=\"font-family:\u5fae\u8f6f\u96c5\u9ed1\">\u5355\u9009\u9898</span></span></span></strong></p>", "updated": {"$date": 1400950731746}, "matrixrow_list": [], "matrixrow_id_list": [], "option_list": [{"updated": {"$date": 1400950731794}, "cid": "A2", "title": "\u9009\u98792", "is_open": false, "_id": {"$oid": "53805f4bf7405b4bc657ae1b"}, "custom_attr": {}, "question_id": "53805f4bf7405b4bc657ae19"}, {"updated": {"$date": 1400950731774}, "cid": "A1", "title": "\u9009\u98791", "is_open": false, "_id": {"$oid": "53805f4bf7405b4bc657ae1a"}, "custom_attr": {}, "question_id": "53805f4bf7405b4bc657ae19"}], "question_type": 3, "project_id": "53805f3df7405b4dda126bac", "custom_attr": {"disp_type": "column", "allow_null": "on", "max_answer_num": "2", "min_answer_num": "1", "column_count": "2"}}, {"has_open_option": false, "_id": {"$oid": "53805f6bf7405b4dda126bb3"}, "jumpconstraint_id_list": [], "option_id_list": ["53805f6bf7405b4dda126bb4", "53805f6bf7405b4dda126bb5"], "cid": "Q2", "questionpage_id": "53805f3df7405b4dda126bad", "title": "\u591a\u9009\u9898", "updated": {"$date": 1400950763807}, "matrixrow_list": [], "matrixrow_id_list": [], "option_list": [{"updated": {"$date": 1400950763846}, "cid": "A1", "title": "\u9009\u98791", "is_open": false, "_id": {"$oid": "53805f6bf7405b4dda126bb4"}, "custom_attr": {}, "question_id": "53805f6bf7405b4dda126bb3"}, {"updated": {"$date": 1400950763869}, "cid": "A2", "title": "\u9009\u98792", "is_open": false, "_id": {"$oid": "53805f6bf7405b4dda126bb5"}, "custom_attr": {}, "question_id": "53805f6bf7405b4dda126bb3"}], "question_type": 3, "project_id": "53805f3df7405b4dda126bac", "custom_attr": {"disp_type": "vertical", "allow_null": "on", "column_count": "2"}}, {"has_open_option": false, "_id": {"$oid": "53805f72f7405b4de5454ec1"}, "jumpconstraint_id_list": [], "option_id_list": ["53805f72f7405b4de5454ec2"], "cid": "Q3", "questionpage_id": "53805f3df7405b4dda126bad", "title": "\u5355\u884c\u586b\u7a7a", "updated": {"$date": 1400950770950}, "matrixrow_list": [], "matrixrow_id_list": [], "option_list": [{"updated": {"$date": 1400950770981}, "cid": "A1", "title": "\u9009\u98791", "is_open": false, "_id": {"$oid": "53805f72f7405b4de5454ec2"}, "custom_attr": {"checkmethod": "email", "allow_null": "on", "text_row": "3", "text_col": "20"}, "question_id": "53805f72f7405b4de5454ec1"}], "question_type": 6, "project_id": "53805f3df7405b4dda126bac", "custom_attr": {"allow_null": "on"}}, {"has_open_option": false, "_id": {"$oid": "53fee44bf7405b7a7ee22e70"}, "jumpconstraint_id_list": [], "option_id_list": ["53fee44bf7405b7a7ee22e71", "53fee44bf7405b7a7ee22e72"], "cid": "Q4", "questionpage_id": "53805f3df7405b4dda126bad", "title": "\u591a\u9009\u9898", "updated": {"$date": 1409242315291}, "matrixrow_list": [], "matrixrow_id_list": [], "option_list": [{"updated": {"$date": 1409242315436}, "cid": "A1", "title": "\u9009\u98791", "is_open": false, "_id": {"$oid": "53fee44bf7405b7a7ee22e71"}, "custom_attr": {}, "question_id": "53fee44bf7405b7a7ee22e70"}, {"updated": {"$date": 1409242315474}, "cid": "A2", "title": "\u9009\u98792", "is_open": false, "_id": {"$oid": "53fee44bf7405b7a7ee22e72"}, "custom_attr": {}, "question_id": "53fee44bf7405b7a7ee22e70"}], "question_type": 3, "project_id": "53805f3df7405b4dda126bac", "custom_attr": {}}, {"has_open_option": false, "_id": {"$oid": "53fee44cf7405b7c724d6911"}, "jumpconstraint_id_list": [], "option_id_list": ["53fee44cf7405b7c724d6912", "53fee44cf7405b7c724d6913"], "cid": "Q5", "questionpage_id": "53805f3df7405b4dda126bad", "title": "\u77e9\u9635\u5355\u9009\u9898", "updated": {"$date": 1409242316277}, "matrixrow_list": [{"updated": {"$date": 1409242316362}, "cid": "R1", "title": "\u77e9\u9635\u884c1", "is_open": false, "_id": {"$oid": "53fee44cf7405b7c724d6914"}, "custom_attr": {}, "question_id": "53fee44cf7405b7c724d6911"}, {"updated": {"$date": 1409242316402}, "cid": "R2", "title": "\u77e9\u9635\u884c2", "is_open": false, "_id": {"$oid": "53fee44cf7405b7c724d6915"}, "custom_attr": {}, "question_id": "53fee44cf7405b7c724d6911"}], "matrixrow_id_list": ["53fee44cf7405b7c724d6914", "53fee44cf7405b7c724d6915"], "option_list": [{"updated": {"$date": 1409242316316}, "cid": "A1", "title": "\u9009\u98791", "is_open": false, "_id": {"$oid": "53fee44cf7405b7c724d6912"}, "custom_attr": {}, "question_id": "53fee44cf7405b7c724d6911"}, {"updated": {"$date": 1409242316338}, "cid": "A2", "title": "\u9009\u98792", "is_open": false, "_id": {"$oid": "53fee44cf7405b7c724d6913"}, "custom_attr": {}, "question_id": "53fee44cf7405b7c724d6911"}], "question_type": 4, "project_id": "53805f3df7405b4dda126bac", "custom_attr": {}}, {"has_open_option": false, "_id": {"$oid": "53fee49ff7405b7b0af8b771"}, "jumpconstraint_id_list": [], "option_id_list": ["53fee49ff7405b7b0af8b772", "53fee49ff7405b7b0af8b773"], "cid": "Q6", "questionpage_id": "53805f3df7405b4dda126bad", "title": "\u6027\u522b", "updated": {"$date": 1409242399279}, "matrixrow_list": [], "matrixrow_id_list": [], "option_list": [{"updated": {"$date": 1409242399320}, "cid": "A1", "title": "\u7537", "is_open": false, "_id": {"$oid": "53fee49ff7405b7b0af8b772"}, "custom_attr": {}, "question_id": "53fee49ff7405b7b0af8b771"}, {"updated": {"$date": 1409242399344}, "cid": "A2", "title": "\u5973", "is_open": false, "_id": {"$oid": "53fee49ff7405b7b0af8b773"}, "custom_attr": {}, "question_id": "53fee49ff7405b7b0af8b771"}], "question_type": 2, "project_id": "53805f3df7405b4dda126bac", "custom_attr": {}}, {"has_open_option": false, "_id": {"$oid": "53fee4a1f7405b7c4941a012"}, "jumpconstraint_id_list": [], "option_id_list": ["53fee4a1f7405b7c4941a013"], "cid": "Q7", "questionpage_id": "53805f3df7405b4dda126bad", "title": "\u624b\u673a\u53f7\u7801", "updated": {"$date": 1409242401911}, "matrixrow_list": [], "matrixrow_id_list": [], "option_list": [{"updated": {"$date": 1409242401943}, "cid": "A1", "title": "A1", "is_open": false, "_id": {"$oid": "53fee4a1f7405b7c4941a013"}, "custom_attr": {"checkmethod": "mobile", "text_row": "1", "text_col": "20"}, "question_id": "53fee4a1f7405b7c4941a012"}], "question_type": 6, "project_id": "53805f3df7405b4dda126bac", "custom_attr": {}}, {"has_open_option": false, "_id": {"$oid": "54003375f7405b3aafbfacba"}, "jumpconstraint_id_list": [], "option_id_list": ["54003375f7405b3aafbfacbb", "54003375f7405b3aafbfacbc"], "cid": "Q8", "questionpage_id": "53805f3df7405b4dda126bad", "title": "\u77e9\u9635\u591a\u9009\u9898", "updated": {"$date": 1409328117500}, "matrixrow_list": [{"updated": {"$date": 1409328117705}, "cid": "R1", "title": "\u77e9\u9635\u884c1", "is_open": false, "_id": {"$oid": "54003375f7405b3aafbfacbd"}, "custom_attr": {}, "question_id": "54003375f7405b3aafbfacba"}, {"updated": {"$date": 1409328117754}, "cid": "R2", "title": "\u77e9\u9635\u884c2", "is_open": false, "_id": {"$oid": "54003375f7405b3aafbfacbe"}, "custom_attr": {}, "question_id": "54003375f7405b3aafbfacba"}], "matrixrow_id_list": ["54003375f7405b3aafbfacbd", "54003375f7405b3aafbfacbe"], "option_list": [{"updated": {"$date": 1409328117605}, "cid": "A1", "title": "\u9009\u98791", "is_open": false, "_id": {"$oid": "54003375f7405b3aafbfacbb"}, "custom_attr": {}, "question_id": "54003375f7405b3aafbfacba"}, {"updated": {"$date": 1409328117647}, "cid": "A2", "title": "\u9009\u98792", "is_open": false, "_id": {"$oid": "54003375f7405b3aafbfacbc"}, "custom_attr": {}, "question_id": "54003375f7405b3aafbfacba"}], "question_type": 5, "project_id": "53805f3df7405b4dda126bac", "custom_attr": {}}], "project_id": "53805f3df7405b4dda126bac", "custom_attr": {}}], "creator_id": "53805d6df7405b4ca9259a4d", "version": 1, "first_create_for_member": false, "custom_attr": {"theme": "darkblue", "scrollbar": "on", "panelsite": "101", "screenout_desc": "\u4e0d\u597d\u610f\u601d\uff0c\u60a8\u4e0d\u592a\u9002\u5408\u672c\u6b21\u8c03\u67e5\uff0c\u8c22\u8c22\u60a8\u7684\u65f6\u95f4\u3002"}, "_id": {"$oid": "53805f3df7405b4dda126bac"}, "end_desc": "\u60a8\u5df2\u5b8c\u6210\u672c\u6b21\u95ee\u5377\uff0c\u611f\u8c22\u60a8\u7684\u5e2e\u52a9\u4e0e\u652f\u6301\u3002", "question_count": 8, "begin_desc": "\u6b22\u8fce\u53c2\u52a0\u672c\u6b21\u7b54\u9898"};
</script>
<script type="text/javascript" src="/static/js/juicer.js?v=eddf2482fed75dc11f602a5f519435cb"></script>
<script type="text/javascript" src="/static/js/jquery.cookie.js?v=1a2ba987a52985c8f69aeb6d3f19b5c4"></script>
<script type="text/javascript" src="/static/js/md5-min.js?v=dedd633663392ea1cd04f0c3f30d46cf"></script>
<script type="text/javascript" src="/static/js/json.js?v=2ba3e68501985816b26089f135e5b718"></script>
<script type="text/javascript" src="/static/js/translate/zh_CN/s.js?v=2e35dd23d5bf47544191473f7e5b7f81"></script>
<script type="text/javascript">
var star_off = "/static/images/lv_pt_off.png?v=8f2cc9f52d6bb9403aeaffb33855ee2f";
var star_on = "/static/images/lv_pt_on.png?v=aa2b5108273ef914da93ae20fd8864bc";


var test_mode = window.location.href.indexOf("test=1") != -1 ? true : false;
var timestr = "2014-09-02 00:11:38";
var ev = "1";
var uuid = "a715639e-31f2-11e4-844f-f8bc123ee698";
var is_iframe = "";
var is_ios = false;
$(function(){
if (check_in(project.status, [PROJECT_STATUS_PAUSED, PROJECT_STATUS_FINISHED, PROJECT_STATUS_CREATED])){
if ($("#begin_content").find(".wjerror").length === 0 && !test_mode){
$(".wjhr").before('<div class="wjerror mtop"><p>目前该问卷已暂停收集，请稍后再试</p></div>');
}
}
});
//自定义图片自适应屏幕
function ImgWidthAuto(){
$('.wjContent .question img').each(function(){
var imgW = $(this).css('width');
var conW = $(this).parents('.question').width();
imgW=parseFloat(imgW);
if(imgW>=conW){
$(this).height('auto').width('100%');
}
});
}
</script>
<!--加载提示-->
<link type="text/css" rel="stylesheet" href="/static/js/plug-in/load/load.css?v=77d9e9d879bf940884faa6409deccf1f" />
<script type="text/javascript" src="/static/js/plug-in/load/load.js?v=fb9a669f97dc9041d6d249e90c46f5bd"></script>
<!-- 颜色值转换 -->
<script type="text/javascript" src="/static/js/color_exchange.js?v=460f3787163ad67231c4a5516465967c"></script>
<!--<script>去除谷歌统计
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-9592313-3', 'wenjuan.com');
ga('send', 'pageview');
</script>-->
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F805c9a16950cbbec8732e90433c5a9e2' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
$(function(){
$("a img[src='http://eiv.baidu.com/hmt/icon/21.gif']").hide();
});
</script>

<script type = "text/javascript" >
$(function() {
$('.mobile_Code').click(function() {
var this_i = $(this).find('i');
if(this_i.attr('class') == "show_ewm") {
$('.qrCode').show();
this_i.removeClass('show_ewm').addClass('hide_ewm');
} else {
$('.qrCode').hide();
this_i.removeClass('hide_ewm').addClass('show_ewm');
}
return false;
});
$('#export-doc').click(function(){
$("#report_doc_content").submit();
});
$('body').click(function() {
var this_i = $('.mobile_Code').find('i');
if(this_i.attr('class') == "hide_ewm") {
$('.qrCode').hide();
this_i.removeClass('hide_ewm').addClass('show_ewm');
}
});
$('.preview_close').click(function() {
$(this).parent().hide();
});
});
</script>

<script>
var credit = "";
var is_idiaoyan = false;
function showIntegral(m){
if(m==undefined||m==null){m=5}
var Win = document.documentElement.clientWidth || document.body.clientWidth;
var con =$('<div style="display:none;position:absolute;top:10px;font-size:36px;color:#EC6618;">+'+m+'积分</div>');
$('body').prepend(con);
var conw = con.width()/2;
con.css({'left':(Win/2-conw)+'px'});
con.fadeIn("slow");
setTimeout(function(){
con.fadeOut("slow");
setTimeout(function(){
con.remove();
},600);
},3000);
}
</script>
<script type="text/javascript">
$(document).ready(function(){
if (isNotEmpty(is_iframe)){
setTimeout(function(){
get_iframe_height();
},100);
}



});
//外观设置
function getExterior(data){
this.data={};
this.main=function(data){
this.data = data;
this.getLogo(data);
this.getBodyBg(data);
this.getWjBg(data);
this.OtherColor(data);
this.getWenjuanLogo(data);
this.getFont(data);
window.parent.getIframeHeight($('body').height());
}
//答题logo设置
this.getLogo=function(data){
this.data = data;
var _this = this;
if(!this.data.logoURL==""){
var logoimg = new Image();
logoimg.onload = function() {
logoimg.height>140?logoimg.height=140:logoimg.height=logoimg.height;
if($('.wjlogo').length>0){
$('.wjlogo img').attr('src',_this.data.logoURL);
$('.wjlogo img').attr('height',logoimg.height+"px");
}else{
$('#begin_content').prepend('<div class="wjlogo pleft"><img src="'+_this.data.logoURL+'" height="'+logoimg.height+'px"/></div>');
}
$('.wjlogo').css({"text-align":_this.data.logoPosition});
};
logoimg.src = this.data.logoURL;
$('.wjlogo').css({"text-align":this.data.logoPosition});
}else{
$('.wjlogo').remove();
}
}
//答题背景
this.getBodyBg=function(data){
this.data = data;
var Attachment = ""
this.data.TerminalStyle.PC.backgroundRepeat=="no-repeat"?Attachment="fixed":Attachment="";
$('body').css({
"backgroundColor":this.data.TerminalStyle.PC.BgColor==""?this.data.TerminalStyle.PC.BgColor="#fff":this.data.TerminalStyle.PC.BgColor,
"backgroundImage":"url("+this.data.TerminalStyle.PC.BgImageURl+")",
"backgroundPosition":this.data.TerminalStyle.PC.BgImagePosition,
"backgroundRepeat":this.data.TerminalStyle.PC.backgroundRepeat,
"backgroundAttachment":Attachment
});
$('.wjImgTop').remove();
if(!this.data.TerminalStyle.PC.ImageURl==""){
$('body').append('<div class="wjImgTop" style="background-image:url('+this.data.TerminalStyle.PC.ImageURl+')"></div>');
}
}
//设置背景
this.getWjBg=function(data){
this.data = data;
//问卷背景
$('#survey_page').css({'backgroundColor':this.data.TerminalStyle.PC.WjBgColor});
}
//通用颜色设置
this.OtherColor=function(data){
this.data = data;
$('.wjhr,.wj_color').css({'backgroundColor':this.data.TerminalStyle.PC.OtherColor});
$('.wjprogress span').css({'color':this.data.TerminalStyle.PC.OtherColor});//问卷背景
$('.wjprogress .bar').css({'borderColor':this.data.TerminalStyle.PC.OtherColor});//问卷背景
$('.wjprogress .barbox').css({'backgroundColor':this.data.TerminalStyle.PC.OtherColor});//问卷背景
$('#control_panel .WJButton').css({'color':reverseColor(this.data.TerminalStyle.PC.OtherColor.colorRgb())});//按钮对应背景颜色
}
//问卷logo颜色
this.getWenjuanLogo=function(data){
this.data = data;
if(this.data.TerminalStyle.PC.BgImageURl==""){
var logoColor = reverseColor(this.data.TerminalStyle.PC.BgColor.colorRgb());
$('.footer .wjtext').html("<div class='wjtext'><a href='http://www.wenjuan.com' target='_blank'>问卷网 </a><span>提供支持</span></div>");
$('.instructions,.wjtext a').css({'color':logoColor});
$('.instructions,.wjtext a').removeClass('yingyin');
}else{
$('.instructions,.wjtext a').addClass('yingyin');
$('.footer .wjtext').html('<a class="gblogo_zh_CN" href="http://www.wenjuan.com" target="_blank" ></a>');
}
}
//字体设置
this.getFont=function(data){
this.data = data;
var fontArr = this.data.TerminalStyle.PC.font;
for(var i=0;i<fontArr.length;i++){
var style = "";
style += fontArr[i].font;
style += fontArr[i].size;
style += fontArr[i].color;
style += fontArr[i].bold;
style += fontArr[i].italic;
style += fontArr[i].underline;
switch(fontArr[i].id){
case "QuesitonStyle":
$('.question .title').attr('style',style);//选项标题
break;
case "OptionsStyle":
$('.question .option_label').attr('style',style);//选项标题设置
break;
case "TopicStyle":
$('.project_title h1').attr('style',style);//问卷标题设置
break;
case "WelcomeStyle":
$('.desc_begin').attr('style',style);//欢迎语设置
break;
case "EndStyle":
$('#end_desc').attr('style',style);//结束语设置
break;
}
}
}
return this.main(data);
}
function doExtraFunc(){
//外观设置获取临时属性
if (window.location.href.indexOf('preview=1') >= 0){
getExterior(window.parent.QuesitonStyle);
}
if (window.location.href.indexOf('preview=1') >= 0){
//外观设置功能返回答题高度
setTimeout(function(){window.parent.getIframeHeight($('body').height());},50);
//parent.document.getIframeHeight($('body,html').height());
}
}
var getWenjuanLogo = function(data) {
if(data.TerminalStyle.PC.BgImageURl == "") {
var logoColor = reverseColor(data.TerminalStyle.PC.BgColor.colorRgb());
$('.footer .wjtext').html("<div class='wjtext'><a href='http://www.wenjuan.com' target='_blank'>问卷网 </a><span>提供支持</span></div>");
$('.instructions,.wjtext a').css({
'color': logoColor
});
$('.instructions,.wjtext a').removeClass('yingyin');
} else {
$('.instructions,.wjtext a').addClass('yingyin');
$('.footer .wjtext').html('<a class="gblogo_zh_CN" href="http://www.wenjuan.com" target="_blank" ></a>');
}
}
var setExtraImage = function(data) {
if(data.TerminalStyle.PC.ImageURl != "") {
$('body').append('<div class="wjImgTop" style="background-image:url(' + data.TerminalStyle.PC.ImageURl + ')"></div>');
}
}
var new_custom_style = {};
if (isNotEmpty(new_custom_style)){
getWenjuanLogo(new_custom_style);
setExtraImage(new_custom_style);
}
</script>
<script type="text/javascript">
var mask=$('<div id="mask" class="mask"></div>');
var case3=$('<div class="popup"><div class="pop-content"><div class="pop-title">您需要在微信中打开才能参与</div><p><span class="wxbg"></span><span class="wxtxt">用微信扫一扫下面的二维码</span></p><p class="tcode"><img src="/images/get_matrix_img?survey_url=http://www.wenjuan.com/s/eQn2Qn/&box_size=5" alt="二维码" width="166" height="166"></p></div></div>');
function login3(){
$('body').append(mask);
$('#mask').after(case3);
}
function Mask(){
$("#mask").css("height",$(document).height());
$("#mask").css("width",$('body,html').width());
/* $("#mask").css("height",$(document).outerHeight());
$("#mask").css("width",$(document).outerWidth()); */
$("#mask").show(); $('.popup').css('top',($(window).height()-$('.popup').height())/2);
$('.popup').css('left',($(window).width()-$('.popup').width())/2);
}
$(document).scroll(function(){Mask()});
$(window).resize(function(){Mask()});
</script>